package cn.tedu.you_two;

public class Test1 {
	public static void main(String[] args) {

		for (int a = 2; a <= 8; a++) {
			System.out.println("л");
		}

		for (int a = 8; a >= 0; a--) {
			System.out.println(a);
		}

		for (int i = 8; i <= 88888; i = i * 10 + 8) {
			System.out.println(i);
		}

		for (int i = 88888; i >= 8; i = (i - 8) / 10) {
			System.out.print(i + ",");
		}

		System.out.println();

		for (int a = 1; a <= 100; a++) {
			if (a % 2 == 0) {
				System.out.println(a);
			}
		}

		for (int a = 1; a <= 100; a += 2) {
			System.out.println(a);
		}

		int z = 0;
		for (int a = 1; a <= 100; a++) {
			if (a % 2 == 0) {
				z = z + a;
			}
		}
		System.out.println(z);

	}
}
